# $Id: PKGBUILD 182376 2013-04-09 18:36:11Z ioni $
# Maintainer : Ionut Biru <ibiru@archlinux.org>

pkgname=libva-intel-driver
pkgver=1.0.20
pkgrel=1
pkgdesc="VA-API implementation for Intel G45 chipsets and Intel HD Graphics for Intel Core processor family."
arch=('i686' 'x86_64')
url="http://freedesktop.org/wiki/Software/vaapi"
license=('MIT')
depends=('libva')
options=('!libtool')
replaces=('libva-driver-intel')
source=(http://www.freedesktop.org/software/vaapi/releases/$pkgname/$pkgname-$pkgver.tar.bz2)
sha1sums=('0aeba2d78f02c4f2c13b519c468e04fa88b2ae3e')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
  install -m644 -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

# vim:set ts=2 sw=2 et:
